package com.yida.gwj.config.domain.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description 公维金信息公示新增参数
 * @Author wws
 * @Date 2023-06-02
 */
@ApiModel(value = "公维金信息公示新增参数",description = "公维金信息公示新增参数")
public class GwjConfNoticeSaveRequest {


    @NotNull(message = "业务主键不能为空")
    @ApiModelProperty("业务主键")
    private Long bizId;

    @NotNull(message = "业务标识主键不能为空")
    @ApiModelProperty("业务标识主键")
    private Long bizFlagId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "信息公示开始时间不能为空")
    @ApiModelProperty("信息公示开始时间")
    private Date noticeStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "信息公示结束时间不能为空")
    @ApiModelProperty("信息公示结束时间")
    private Date noticeEndTime;

    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public Long getBizFlagId() {
        return bizFlagId;
    }

    public void setBizFlagId(Long bizFlagId) {
        this.bizFlagId = bizFlagId;
    }

    public Date getNoticeStartTime() {
        return noticeStartTime;
    }

    public void setNoticeStartTime(Date noticeStartTime) {
        this.noticeStartTime = noticeStartTime;
    }

    public Date getNoticeEndTime() {
        return noticeEndTime;
    }

    public void setNoticeEndTime(Date noticeEndTime) {
        this.noticeEndTime = noticeEndTime;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjConfNoticeSaveRequest{");
        sb.append("bizId=").append(bizId);
        sb.append(", bizFlagId=").append(bizFlagId);
        sb.append(", noticeStartTime=").append(noticeStartTime);
        sb.append(", noticeEndTime=").append(noticeEndTime);
        sb.append('}');
        return sb.toString();
    }
}
